//
//  GoodStoreCollectionViewCell.m
//  礼物
//
//  Created by dllo on 15/11/12.
//  Copyright © 2015年 liangsicheng. All rights reserved.
//

#import "GoodStoreCollectionViewCell.h"

@implementation GoodStoreCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        [self creataSubviews];
    }
    return  self;
}

- (void)creataSubviews
{
    self.imageView = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
    [self.contentView addSubview:self.imageView];
    
}

- (void)setCellWithModel:(NSString *)image
{
    //方法传值
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:image]];
}



/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
